//
//  DotStruct.swift
//  SmartPenSwift
//
//  Created by tql on 2021/2/21.
//

import UIKit

class DotStruct: NSObject {

    var pageID : Int = 0
    var drawPointX : Float = 0
    var drawPointY : Float = 0
    var drawType : Int = 0
    var drawForce : Int = 0
    var penWidth : Int = 0
    var lineColor : UIColor = .black
    var timelong : Int = 0

    convenience init(DX indrawPointX : Float,DY indrawPointY : Float,DT indrawType : Int,
                     PageID inPageID : Int,DF indrawForce : Int,PW inpenWidth : Int,
                     LC inlineColor : UIColor,TL intimelong : Int ) {
        self.init()
        pageID = inPageID;
        drawPointX = indrawPointX
        drawPointY = indrawPointY
        drawType = indrawType
        drawForce = indrawForce
        penWidth = inpenWidth
        lineColor = inlineColor
        timelong = intimelong
    }
    
}
